package com.Innovationstudio.web.pagemodel;

import java.util.List;

/**
 * session信息模型
 */
public class SessionInfo implements java.io.Serializable {

    private String id;// 用户ID
    private String name;// 用户登录名
    private String ip;// 用户IP

    private List<String> resourceList;// 用户可以访问的资源地址列表

    public List<String> getResourceList() {
        return resourceList;
    }

    public void setResourceList(List<String> resourceList) {
        this.resourceList = resourceList;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return this.name;
    }

}
